/*
 * @Author: your name
 * @Date: 2020-08-11 20:01:02
 * @LastEditTime: 2020-08-11 20:14:18
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \day01\traning\test02\main.go
 */
package main

import (
	"fmt"
	"sort"
)

func main() {
	var a = make([]int, 5, 10)
	for i := 0; i < 10; i++ {
		a = append(a, i)
	}
	fmt.Println(a)

	sort.Ints(a)

	fmt.Println(a)
}
